<div class="list-box" data-crate=false>
  <ul>
  {{each data as value i}}
    {{if data[i].type == 1}}
      <li class="itmes active" data-cid="{{data[i].cid}}" data-name="{{data[i].wName}}">
          <div class="col-sm-2">
              <img class="thumb_img js_view_img" src="{{data[i].imgsrc}}" style="max-height: 30px;">
          </div>
          <div class="col-sm-2">
              <span class="pirce">{{data[i].wName}}</span>
          </div>
          <div class="col-sm-2">
              <span class="pirce">{{data[i].identity}}</span>
          </div>
          <div  class="col-sm-4"><span class="pirce">{{data[i].belongs}}</span></div>
          <div  class="col-sm-2">
              <a href="#" title="选择" class="active"><i class="fa fa-check text-success text-active"></i><i class="fa fa-times text-danger text"></i></a>
          </div>
      </li>
    {{else if data[i].type == 0}}
      <li class="itmes" data-cid="{{data[i].cid}}" data-name="{{data[i].wName}}">
          <div class="col-sm-2">
              <img class="thumb_img js_view_img" src="{{data[i].imgsrc}}" style="max-height: 30px;">
          </div>
          <div class="col-sm-2">
            <span class="pirce">{{data[i].wName}}</span>
        </div>
        <div class="col-sm-2">
            <span class="pirce">{{data[i].identity}}</span>
        </div>
          <div  class="col-sm-4"><span class="pirce">{{data[i].belongs}}</span></div>
          <div  class="col-sm-2">
              <a href="#" title="选择" class=""><i class="fa fa-check text-success text-active"></i><i class="fa fa-times text-danger text"></i></a>
          </div>
      </li>
    {{/if}}
  {{/each}}
  </ul>
</div>